package com.example.demo.test;


/**
 * 设备类工序
 */
public abstract class DeviceAbstractWorkProcess extends AbstractWorkProcess {


    public DeviceAbstractWorkProcess(String name, String description) {
        super(name, description);
    }

    @Override
    public boolean getCurrentMaterial() {
        if(getMaterial() != null){
            return true;
        }
        return false;
    }

    @Override
    public void addMaterial(Material material) {
        setMaterial(material);
    }
}
